tools/pygrub: store kernels in /var/run/xen/pygrub
authorOlaf Hering <olaf@aepfle.de>
Mon, 22 Sep 2014 12:59:55 +0000 (14:59 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 23 Sep 2014 09:13:45 +0000 (10:13 +0100)
commit63dcc681511356d42645ef2c78955864e3b3e6b9
treeb692ef089c6ac336cf0e0a360a566c55161942cf
parentdcf4dd274e33ce57a3b71e311ad2c14407806f71
tools/pygrub: store kernels in /var/run/xen/pygrub

Move location of temporary bootfiles from /var/run/xend/boot to
/var/run/xen/pygrub. Create the subdirectory if does not exist.
The <dir> argument --output-directory must be an existing directory.

The reason for this change is that all entrys below /var/run have to be
created at runtime in case /var/run is cleared on every boot.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/pygrub/src/pygrub